package com.example.knowman.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.knowman.ReturnMessage.MExKnowCategory9_2LabelNew;
import com.example.knowman.ReturnMessage.Message;
import com.example.knowman.dao.knowMainEx9_5ByPeriod;
import com.example.knowman.dao.labelCategoryWithStaffNAndKnowCategoryN;
import com.example.knowman.entity.knowCategory;
import com.example.knowman.entity.knowMain;
import com.example.knowman.entity.labelCategory;

import java.util.List;

public interface IlabelCategoryService extends IService<labelCategory>{

    IPage<labelCategory> getLabels(Integer pageNum, Integer pageSize, String labelName);


    IPage<labelCategoryWithStaffNAndKnowCategoryN> getLabelsNew(Integer pageNum, Integer pageSize, String labelName,String staffCode);

    Message Insert(String labelName, Integer knowCateId, String labelColor, Integer labelSort, String notes, String staffCode);


    Message update(Integer labelCateId, String labelName, Integer knowCateId, String labelColor, Integer labelSort, String notes);

    Message deleteBylabelCateId(Integer labelCateId);

    Integer returnContainKnowCateIdCount(Integer knowCateId);
}
